// 网络接口修改此字符 小程序域名要求https
// const httpApi = "https://api.wanlihaopinofficial.com"; //生产
const httpApi = "http://develop.wanlihaopinofficial.com"; //测试
export default {
  HTTP_REQUEST_URL: (() => {
    return httpApi || window.location.protocol + "//" + window.location.host;
  })(),

  HEADER: {
    "content-type": "application/json",
    //#ifdef H5
    "Form-type": navigator.userAgent.toLowerCase().includes("micromessenger")
      ? "wechat"
      : "h5",
    //#endif
  },

  // 回话密钥名称 请勿修改此配置
  TOKENNAME: "X-Token",

  // 缓存时间 0 永久
  EXPIRE: 0,
};
